Latest Questions

Unable to set theme in latest MUI v5 with ReactJS

I am building a small, simple Wiki for myself; just started learning React, although I've been working with JavaScript before. I cannot seem to set the theme. I

multistep form with fieldset is not going to next fieldset even if required field is filled

I have a multistep form with fieldset, but on the next button click, it is not going to the next step it still shows the required field is empty. Blade <form

Cucumberjs Parallel execution-for 3 or more instances - Only one usage of each socket address (protocol/network address/port) is normally permitted

I am trying to execute Cucumber-js feature files in parallel. Providing number of parallel runs in cucumber.js file let runCucumber = [ --parallel 3, It runs fi

Alert function for order blocks

I recently started trying to code in Pine on my own and built my own OB indicator with help from some other indicators. I know want to add an alert, that is tri

communicating with serial virtual COM port using python

I have written snippet below to communicate (send a simple '1' character) with serial virtual COM3 port, which is connected to a STM32 board, using python. But

Why does on_member_join() is not working in my discord.py bot? [duplicate]

I try to run this code below, but on_member_join is not working for me. async def on_member_join(self, member): guild = member.gui

HOW TO GET QUERY IN SQL USING PHP IN SQL TIGGERING

This is my code my $sql variable didn't give query plese help me for this I try this but I couldn't please help me with that <?php $connect = mysqli_con

React Native iOS integration with Microsoft InTune

Is there a way to integrate Microsoft InTune with an enterprise iOS application written in React Native? There is an npm package called react-native-mdm that li

Sagemaker charge from ListBucket

Looking at the breakdown of charges from AWS Sagemaker, I noticed only about 30% of total cost is from actually running the instances, surprisingly ~50 percent

Discord.js client immediately crashing as soon as a member joins

I have a Discord bot that is supposed to check the user info of a server member as soon as they join. Yet, what happens as soon as a member joins is that the cl

Discord Bot Auto Deletes Links In certain Channels

im pretty new to javascript and i tried to get and modify a script that delete link if its not in the list, i tried multiple modification for hours but none suc

PS1.7 Move ProductComments into DisplayProductExtraContent

I am tryng to show product comments list (default Prestashop1.7 module productcomments) into a custom tab called "Comments" But the contents doesn't show.. trie

spark sql Find the number of extensions for a record

I have a dataset as below col1 extension_col1 2345 2246 2246 2134 2134 2091 2091 Null 1234 1111 1111 Null I need to find the number of extensions available fo

Octave error filename undefined near line 1 column 1

I tried to run a function with octave-GUI. I first write a function in 'testFunc.rtf'(in WordPad). function y = testFunc(x) y = x^2 + x^3 The path to this file

Virtualbox: "UUID already exists

I'm trying to install an Ubuntu guest on a windows host with Virtualbox. Whenever I try to create a VM the process fails. I get a message saying the that the vd

Export HANA SQL query or table in CSV

I use a HANA 2.0 database. I want to export a table or a sql query from the database to an external client as fast as possible and using a command line (i'm on

Why does Attr inherit from Node in the DOM?

according to the DOM Core, Attr objects inherit the Node interface, but since they are not actually child nodes of the element they describe, the DOM does not

Hide and show element and stay with the same option selected

i have this code if checkbox is checked i need to show my front_dashboard_custom_formula div and hide front_dashboard_formula_formula_id and set select null if

How can I add "TrustServerCertificate=Yes"; or "Encrypt=False;" to a SQL Server RDS in AWS?

While trying to run my migrations in a Laravel App I have in an EC2 server, I run into this error message. SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL

Dart 2.17 has warning when using code snipplet

I just update dart sdk to 2.17 and when I use snipplet (in VScode) to auto generate code for Stateless/Stateful it auto import these two package. But it tel

Auto run tests in visual studio code

How do I run the tests automatically in visual studio code. My project has testing setup, and the settings JSON/UI has settings related to auto running tests, b

Mapbox 10.4 iOS: Changing opacity of raster layer with a slider

I have just updated from Mapbox 10.3 to Mapbox 10.4, and have an issue with changing the raster layer opacity on the fly. I have a slider to change the raster

Storing and using GUI objects with Tkinter

So I have a class that just creates a gui with a text box to type into. I would like to store multiple of these objects and their content that is entered by the

custom program error: 0xbbf on anchor framework solana

const connection = new anchor.web3.Connection("https://api.devnet.solana.com"); const provider = new anchor.Provider(connection, wallet, { preflight

How to create a table inside a table cell in reportlab

I am in a situation where I need to create a table inside the table cell, which is the description field in the data which will be a list itself. I need to make

React - Why is geolocation state undefined when accessing it from another function

I'm trying to get the latitude and the longitude from geoLocation and use it to fetch data from a weather api. The problem however is that as soon as I pass lat

Is it possible to increase horizontal and vertical padding on ffmpeg burned subtitles - using .srt format?

Using command : ffmpeg -i source_video_path.mp4 -vf "subtitles=srt_source.srt:force_style='OutlineColour=&H80000000,BorderStyle=4,BackColour=&H80000000,

.env file shows errors(red underlines) in vscode - it works fine though

I'm having this project structure: Although the file works correctly but it shows errors(red underlines) in VSCODE. Why does this happen and how can we solve t

How to destructure object props in Vue the way like you would do in React inside a setup?

I am wondering how to destructure an object prop without having to type data.title, data.keywords, data.image etc. I've tried spreading the object directly, but

how to prevent privilege escalation by changing HTTP response values?

i want to know how to mitigate privilege escalation by changing the response values, for example in response body: isAdmin=false change it to isAdmin=true and g